package com.aaa.service.front;

import com.aaa.entity.ShoppingCart;

public interface IShoppingCartService {
    /***
     * 根据用户编号查询购物车
     * @param userInfoId
     * @return
     */
    ShoppingCart findCartUserInfoId(Integer userInfoId);

    /**
     *  添加购物车对象
     * @param shoppingCart
     * @return
     */
    int insertCart(ShoppingCart shoppingCart);
}
